﻿@model CashFlow.Entities.Models.InitialBalanceEditModel
@{
	ViewBag.Title = "Initial balance";
		Layout = "~/Views/Shared/_Layout.cshtml";
}

@section TitleContent
{
	Enter initial balance
}

@section HeadContent
{
	<link href="../../Content/Bill/BillEdit.css" rel="stylesheet" type="text/css" />
}

@section NavigationContent	{}

<h2>Initial balance</h2>
@{ Html.EnableClientValidation(); }

@using (Html.BeginForm())
{
	<div class="formField">
		@Html.LabelFor(model => model.InitialBalanceDate)
		@Html.EditorFor(model => model.InitialBalanceDate)
		@Html.ValidationMessageFor(model => model.InitialBalanceDate)
	</div>
	<div class="formField">
		@Html.LabelFor(model => model.InitialBalanceAmount)
		@Html.EditorFor(model => model.InitialBalanceAmount)
		@Html.ValidationMessageFor(model => model.InitialBalanceAmount)
	</div>
	<div class="submitButtonsPanel">
		<input type="submit" value="Save" />&nbsp;or&nbsp;
		@Html.ActionLink("Cancel", "Index", "CashFlow", null, new { id = "cancelLink" })
	</div>
	<div>
		@Html.ValidationSummary(true) 
	</div>
}
@*<script src="@Url.Content("~/Scripts/Tenant/initBalanceEdit.js")" type="text/javascript"></script>*@
